(if (IN #DOC 0) (copyfiles (source "AmiGreetUK") (dest "SYS:WbStartup")))
(if (IN #DOC 0) (copyfiles (source "AmiGreetUK.info") (dest "SYS:WbStartup")))
;Copy UK AmiGreet & icon
(if (IN #DOC 1) (copyfiles (source "AmiGreetPO") (dest "SYS:WbStartup")))
(if (IN #DOC 1) (copyfiles (source "AmiGreetPO.info") (dest "SYS:WbStartup")))
;Copy Polish AmiGreet & icon
(if (IN #DOC 2) (copyfiles (source "AmiGreetDE") (dest "SYS:WbStartup")))
(if (IN #DOC 2) (copyfiles (source "AmiGreetDE.info") (dest "SYS:WbStartup")))
;Copy German AmiGreet & icon
(if (IN #DOC 3) (copyfiles (source "AmiGreetNL") (dest "SYS:WbStartup")))
(if (IN #DOC 3) (copyfiles (source "AmiGreetNL.info") (dest "SYS:WbStartup")))
;Copy Dutch AmiGreet & icon
(complete 50)
;---------------------
(complete 80)
(copyfiles
(source "c/Say")
(dest "C:")
(all)
)
;---------------------
;
;---------------------
(complete 85)
(copyfiles
(source "devs/narrator.device")
(dest "DEVS:")
(all)
)
;---------------------
(complete 90)
(copyfiles
(source "libs/translator.library")
(dest "LIBS:")
(all)
)
;---------------------
;
(makedir "ENVARC:AmiGreet")
;
(message
"\n\n AmiGreet is 'freeware' which means it is free to register. This installer will register you as an official AmiGreet user. All you have to do is fill in your details."
"\n\n\n\n AmiGreet * FREE * Registration"
)
(set name
(askstring
(prompt "Please enter your full name.")
(help @askstring-help)
)
)
(textfile
(dest "ENVARC:AmiGreet/Name")
(append name)
)
(set country
(askstring
(prompt "Please enter the name of country you live in.")
(help @askstring-help)
)
)
(textfile
(dest "ENVARC:AmiGreet/Country")
(append country)
)
(set where
(askstring
(prompt "Please enter where you obtained AmiGreet.")
(help @askstring-help)
)
)
(textfile
(dest "ENVARC:AmiGreet/Where")
(append where)
)
(complete 95)
(message
"\n\n AmiGreet v1.4 was installed successfully!"
"\n Reboot your Amiga to hear AmiGreet talk to you!"